<template>
    <div>
        <cart-list-item v-for="item in cartList" :key="item.iid" :shop-info="item"></cart-list-item>
    </div>
</template>

<script>
    import CartListItem from './CartListItem'
    export default {
        name: 'CartList',
        components: {
            CartListItem
        },
        data () {
            return {
                cartList: null
            }
        },
        created () {
            this.cartList = this.$store.state.cartList;
        }
    }
</script>

<style scoped>

</style>